export const getSkipAndTake = (page:number, pageSize:number)=>{
  let take = 0 , skip = 0;
  if(page < 1){
    return {
      take, skip
    }
  }

  return {
    take: pageSize,
    skip: (page - 1) * pageSize
  }
}